package top.zywork.ext.dos;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author
 * @since 2020-11-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_graphic_order")
public class GraphicOrderExtDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单号
     */
    @TableField("order_id")
    private String orderId;

    /**
     * 订单编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 下单用户
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 图文店
     */
    @TableField("graphic_id")
    private Integer graphicId;

    /**
     * 优惠券编号
     */
    @TableField("coupons_id")
    private Integer couponsId;

    /**
     * 纸张类型
     */
    @TableField("zzlx")
    private String zzlx;

    /**
     * 颜色
     */
    @TableField("ys")
    private String ys;

    /**
     * 单双面
     */
    @TableField("dsm")
    private String dsm;

    /**
     * 页码范围
     */
    @TableField("ymfw")
    private String ymfw;

    /**
     * 打印数量
     */
    @TableField("dysl")
    private Integer dysl;

    /**
     * 装订
     */
    @TableField("zhuangding")
    private String zhuangding;

    /**
     * 缩印(多合一)
     */
    @TableField("suoyin")
    private String suoyin;

    /**
     * 订单金额
     */
    @TableField("total_amount")
    private BigDecimal totalAmount;

    /**
     * 实付金额
     */
    @TableField("pay_amount")
    private BigDecimal payAmount;

    /**
     * 优惠金额
     */
    @TableField("discount_amount")
    private BigDecimal discountAmount;

    /**
     * 支付状态
     */
    @TableField("pay_status")
    private Integer payStatus;

    /**
     * 下单时间
     */
    @TableField("place_order_time")
    private Date placeOrderTime;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 备注
     */
    @TableField("beizhu")
    private String beizhu;

    /**
     * 微信订单号
     */
    @TableField("wx_order")
    private String wxOrder;

    /**
     * 文件地址
     */
    @TableField("upload_file")
    private String uploadFile;

    /**
     * 学校ID
     */
    @TableField("school_id")
    private Long schoolId;

    /**
     * 激活状态
     */
    @TableField("is_active")
    private Integer isActive;

    /**
     * 取件码
     */
    @TableField("take_code")
    private String takeCode;

    /**
     * 完成状态
     */
    @TableField("completion_status")
    private String completionStatus;


}
